package com.primb.androidlibs.net.entity;

/**
 * Created by chen on 2018/1/11.
 */

public class MessageEvent<T> {
    private int eventType;
    private T data;

    public MessageEvent(int eventType, T data) {
        this.eventType = eventType;
        this.data = data;
    }

    public MessageEvent(int eventType) {
        this.eventType = eventType;
    }

    public int getEventType() {
        return eventType;
    }

    public void setEventType(int eventType) {
        this.eventType = eventType;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
